<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">

</head><body><form id="main" onsubmit="return false;">
kanal:
<input id="channel" type="text">
<br>
moc: 
<input id="power" type="text">
<br>
<input value="ustaw" onclick="submitForm();" type="submit">
</form> 

<script type="text/javascript">
function submitForm()
{
	var channel=document.getElementById("channel").value;
	var power=document.getElementById("power").value;
	//window.alert(window.location.host);
	window.location = window.location.protocol + "//" + window.location.host + "/set/" + channel + "/" + power;
}
</script>

</body></html>